﻿namespace TestTool.Tests.Common.Soap
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), XmlRoot(Namespace="http://www.w3.org/2003/05/soap-envelope", IsNullable=false), GeneratedCode("xsd", "2.0.50727.3038"), XmlType(Namespace="http://www.w3.org/2003/05/soap-envelope")]
    public class Body<T> where T: class
    {
        private System.Xml.XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private T element;

        [XmlAnyElement]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public System.Xml.XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(ElementName="Element")]
        public T Element
        {
            get
            {
                return this.element;
            }
            set
            {
                this.element = value;
            }
        }
    }
}

